Optimal. Leaf size=162 \[ -\frac {(B c-A d) (e x)^{1+m} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} F_1\left (\frac {1+m}{2};-p,1;\frac {3+m}{2};-\frac {b x^2}{a},-\frac {d x^2}{c}\right )}{c d e (1+m)}+\frac {B (e x)^{1+m} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \, _2F_1\left (\frac {1+m}{2},-p;\frac {3+m}{2};-\frac {b x^2}{a}\right )}{d e (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 162, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.161, Rules used = {598, 372, 371,
525, 524} \begin {gather*} \frac {B (e x)^{m+1} \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {m+1}{2},-p;\frac {m+3}{2};-\frac {b x^2}{a}\right )}{d e (m+1)}-\frac {(e x)^{m+1} \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} (B c-A d) F_1\left (\frac {m+1}{2};-p,1;\frac {m+3}{2};-\frac {b x^2}{a},-\frac {d x^2}{c}\right )}{c d e (m+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 372
Rule 524
Rule 525
Rule 598
Rubi steps
\begin {align*} \int \frac {(e x)^m \left (a+b x^2\right )^p \left (A+B x^2\right )}{c+d x^2} \, dx &=\int \left (\frac {B (e x)^m \left (a+b x^2\right )^p}{d}+\frac {(-B c+A d) (e x)^m \left (a+b x^2\right )^p}{d \left (c+d x^2\right )}\right ) \, dx\\ &=\frac {B \int (e x)^m \left (a+b x^2\right )^p \, dx}{d}+\frac {(-B c+A d) \int \frac {(e x)^m \left (a+b x^2\right )^p}{c+d x^2} \, dx}{d}\\ &=\frac {\left (B \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p}\right ) \int (e x)^m \left (1+\frac {b x^2}{a}\right )^p \, dx}{d}+\frac {\left ((-B c+A d) \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p}\right ) \int \frac {(e x)^m \left (1+\frac {b x^2}{a}\right )^p}{c+d x^2} \, dx}{d}\\ &=-\frac {(B c-A d) (e x)^{1+m} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} F_1\left (\frac {1+m}{2};-p,1;\frac {3+m}{2};-\frac {b x^2}{a},-\frac {d x^2}{c}\right )}{c d e (1+m)}+\frac {B (e x)^{1+m} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \, _2F_1\left (\frac {1+m}{2},-p;\frac {3+m}{2};-\frac {b x^2}{a}\right )}{d e (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 118, normalized size = 0.73 \begin {gather*} \frac {x (e x)^m \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \left ((-B c+A d) F_1\left (\frac {1+m}{2};-p,1;\frac {3+m}{2};-\frac {b x^2}{a},-\frac {d x^2}{c}\right )+B c \, _2F_1\left (\frac {1+m}{2},-p;\frac {3+m}{2};-\frac {b x^2}{a}\right )\right )}{c d (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\left (e x \right )^{m} \left (b \,x^{2}+a \right )^{p} \left (B \,x^{2}+A \right )}{d \,x^{2}+c}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (B\,x^2+A\right )\,{\left (e\,x\right )}^m\,{\left (b\,x^2+a\right )}^p}{d\,x^2+c} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________